//
//  main.cpp
//  抖音天才
//
//  Created by 吴尚远 on 2022/5/23.
//

#include <iostream>
#include "address.h"
#include "s_workmanager.h"
#include "pro_management.h"
using namespace std;
int main(int argc, const char * argv[])
{
    while(1)
    {
        cout << "欢迎来到抖音！\n请选择您想要进行的操作：" << endl;
        cout << "0.关闭系统" << endl;
        cout << "1.显示主界面" << endl;
        cout << "2.管理我的资料" << endl;
        cout << "3.管理我的作品" << endl;
        cout << "4.管理我的通讯录" << endl;
        int choose;
        cin >> choose;
        switch (choose)
        {
            case 0:
                cout << "欢迎下次使用！" << endl;
                exit(0);
                break;
            case 1:
                pro_management().show_info();
                break;
            case 2:
                pro_management().menu();
                break;
            case 3:
                manager().menu();
                break;
            case 4:
                address().ad_menu();
                break;
            default:
                break;
        }
    }
    return 0;
}
